userAgentData
Returns the user-agent data of the current browser instance.
If the user-agent data has not been overridden, then this method returns the default user-agent data.
Since
8.4.0
Updates the user-agent data of the current browser instance and reloads the currently loaded web page.
The user-agent data is a part of the User-Agent Client Hints API. The API provides a better way of exposing browser and platform information via User-Agent response and request headers, and a JavaScript API.
Since
8.4.0
Parameters
data
a new user-agent data
Throws
when the browser is already closed